package com.unisound.iot.controller.elasticSearchUtil.condition;

public class Test {


    public void operater(){
//        //TODO test es
////        List<DocumentCommandRequest> documentCommandRequestList = Lists.newArrayListWithCapacity(1);
////        DataSyncEsDTO dataSyncEsDTO = null ;
////        DocumentCommandRequest documentCommandRequest = DocumentCommandRequest.of(DocumentCommandType.UPDATE, "data", "data", dataId).setDocument(dataSyncEsDTO);
////        documentCommandRequestList.add(documentCommandRequest);
////        BulkRequestBuilder bulkRequestBuilder = elasticSearchClient.prepareBulk();
////        UpdateRequestBuilder updateRequestBuilder = elasticSearchClient.prepareUpdate(documentCommandRequest.getIndex(), documentCommandRequest.getType(), documentCommandRequest.getId()).setDoc(objectMapper.writeValueAsBytes(documentCommandRequest.getDocument()));
////        if(documentCommandRequest.getParent() != null){
////            updateRequestBuilder.setParent(documentCommandRequest.getParent());
////        }
////        BulkResponse bulkResponse = bulkRequestBuilder.get();

    }

    public static void main(String[] args) {
        System.out.println( System.currentTimeMillis() );
    }

}
